.class Lcom/example/zsccpsapp/OrderShowtjActivity$2;
.super Landroid/os/Handler;
.source "OrderShowtjActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/zsccpsapp/OrderShowtjActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;


# direct methods
.method constructor <init>(Lcom/example/zsccpsapp/OrderShowtjActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    .line 95
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 8
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 97
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 98
    iget v5, p1, Landroid/os/Message;->arg1:I

    packed-switch v5, :pswitch_data_0

    .line 165
    :goto_0
    :pswitch_0
    return-void

    .line 103
    :pswitch_1
    iget-object v5, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    iget-object v5, v5, Lcom/example/zsccpsapp/OrderShowtjActivity;->mcontext:Landroid/content/Context;

    const-string v6, "\u7edf\u8ba1\u4e3a\u7a7a"

    const-string v7, ""

    invoke-static {v5, v6, v7}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 106
    :pswitch_2
    iget-object v5, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    iget-object v5, v5, Lcom/example/zsccpsapp/OrderShowtjActivity;->mcontext:Landroid/content/Context;

    const-string v6, "\u63d0\u793a\u4fe1\u606f"

    iget-object v7, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v5, v6, v7}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 110
    :pswitch_3
    iget-object v5, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    iget-object v5, v5, Lcom/example/zsccpsapp/OrderShowtjActivity;->mcontext:Landroid/content/Context;

    const-string v6, "\u63d0\u793a\u4fe1\u606f"

    const-string v7, "\u5c06\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u6216\u8005\u8054\u7cfb\u5ba2\u670d"

    invoke-static {v5, v6, v7}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 114
    :pswitch_4
    iget-object v5, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    iget-object v5, v5, Lcom/example/zsccpsapp/OrderShowtjActivity;->mcontext:Landroid/content/Context;

    const-string v6, "\u6570\u636e\u83b7\u53d6\u5931\u8d25"

    const-string v7, "\u5c06\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u6216\u8005\u8054\u7cfb\u5ba2\u670d"

    invoke-static {v5, v6, v7}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 117
    :pswitch_5
    sget-object v5, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v6, "\u6570\u636e\u5904\u7406"

    invoke-virtual {v5, v6}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 124
    :try_start_0
    iget-object v5, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    const v6, 0x7f0b0019

    invoke-virtual {v5, v6}, Lcom/example/zsccpsapp/OrderShowtjActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/LinearLayout;

    .line 127
    .local v3, "goodlist":Landroid/widget/LinearLayout;
    iget-object v5, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    iget-object v5, v5, Lcom/example/zsccpsapp/OrderShowtjActivity;->mcontext:Landroid/content/Context;

    const v6, 0x7f030013

    const/4 v7, 0x0

    invoke-static {v5, v6, v7}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    .line 128
    .local v4, "mBarView2":Landroid/view/View;
    const v5, 0x7f0b0050

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 129
    .local v1, "detgoodsname":Landroid/widget/TextView;
    const v5, 0x7f0b0052

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 130
    .local v0, "detgoodscost":Landroid/widget/TextView;
    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "\u5b8c\u6210\u8ba2\u5355\u6570\uff1a"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v6, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    iget-object v6, v6, Lcom/example/zsccpsapp/OrderShowtjActivity;->tjdata:Lorg/json/JSONObject;

    const-string v7, "shuliang"

    invoke-virtual {v6, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 131
    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "\u91d1\u989d\uff1a"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v6, p0, Lcom/example/zsccpsapp/OrderShowtjActivity$2;->this$0:Lcom/example/zsccpsapp/OrderShowtjActivity;

    iget-object v6, v6, Lcom/example/zsccpsapp/OrderShowtjActivity;->tjdata:Lorg/json/JSONObject;

    const-string v7, "tccost"

    invoke-virtual {v6, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 133
    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    .line 155
    .end local v0    # "detgoodscost":Landroid/widget/TextView;
    .end local v1    # "detgoodsname":Landroid/widget/TextView;
    .end local v3    # "goodlist":Landroid/widget/LinearLayout;
    .end local v4    # "mBarView2":Landroid/view/View;
    :catch_0
    move-exception v2

    .line 156
    .local v2, "e":Lorg/json/JSONException;
    invoke-virtual {v2}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_0

    .line 98
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_2
        :pswitch_1
        :pswitch_0
        :pswitch_3
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method
